home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15636 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: mail2news.demon.co.uk!lorelei.demon.co.uk
  2. From: John Croudy <john@lorelei.demon.co.uk>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help - ERROR: Use C++ with iostream.h - ???
  5. Date: Sun, 7 Apr 96 17:47:05 GMT
  6. Organization: home
  7. Message-ID: <9604071747.AA001nr@lorelei.demon.co.uk>
  8. References: <31671633.33DD@inforamp.net>
  9. X-NNTP-Posting-Host: lorelei.demon.co.uk
  10. X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
  11. X-Mail2News-Path: relay-4.mail.demon.net!post.demon.co.uk!lorelei.demon.co.uk
  12.  
  13. On Sat, 06 Apr 1996 20:11:15 -0500, Jim Lynch wrote:
  14.  
  15. > the UNIX/PowerPC system there, I get an error like "Use C++ with 
  16. > iostream.h". I even renamed the first character in the header file from 
  17.  
  18. As far as I know, this message is a compile-time error that comes out if
  19. you try to compile <iostream.h> with a C compiler.  I think it works by
  20. checking if C_PLUS_PLUS is defined, and if not, the compilation fails.
  21.  
  22. The only thing I can think of is to make sure you're using a C++
  23. compiler.  I know it sounds patronising but we all make mistakes.
  24. Other than that I can't imagine what's wrong.
  25.  
  26. > an upper case "I" to a lower case "i". Any ideas?
  27.  
  28. Ouch!  You're not meant to do things like that :)
  29.  
  30. John
  31. xxxx
  32.